<div>
    <style type="text/css">
        .fc {
            width: 100%;
            min-height: 100px;
            background: #fff;
        }
        
        .fc-toolbar {
            height: 50px;
            background-color: #23b7e5;
            color: #fff;
            border-radius: 3px 3px 0 0;
            text-align: center;
        }
        
        .fc-toolbar h2 {
            font-size: 20px;
            line-height: 50px;
            margin: 0;
            text-transform: uppercase;
        }
        
        .fc-toolbar .fc-left {
            float: left;
        }
        
        .fc-toolbar .fc-right {
            float: right;
        }
        
        .fc-toolbar .fc-center {
            display: inline-block;
        }
        /* the things within each left/right/center section */
        
        .fc .fc-toolbar>*>* {
            /* extra precedence to override button border margins */
            float: left;
            margin-left: .75em;
        }
        /* the first thing within each left/center/right section */
        
        .fc .fc-toolbar>*> :first-child {
            /* extra precedence to override button border margins */
            margin-left: 0;
        }
        /* title text */
        
        .fc-toolbar h2 {
            margin: 0;
        }
        /* button layering (for border precedence) */
        
        .fc-toolbar button {
            position: relative;
        }
        
        .fc-toolbar .fc-state-hover,
        .fc-toolbar .ui-state-hover {
            z-index: 2;
        }
        
        .fc-toolbar .fc-state-down {
            z-index: 3;
        }
        
        .fc-toolbar .fc-state-active,
        .fc-toolbar .ui-state-active {
            z-index: 4;
        }
        
        .fc-toolbar button:focus {
            z-index: 5;
        }
        
        .fc-toolbar button {
            position: relative;
        }
        
        .fc button .fc-icon {
            position: relative;
            top: .05em;
            margin: 0 .1em;
        }
        
        .fc-icon {
            display: inline-block;
            font-size: 2em;
            line-height: .5em;
            height: .5em;
            font-family: "Courier New", Courier, monospace;
        }
        
        .fc-icon-right-single-arrow:after {
            content: "\0203A";
            font-weight: bold;
        }
        
        .fc-icon-left-single-arrow:after {
            content: "\02039";
            font-weight: bold;
        }
        
        .fc {
            direction: ltr;
            text-align: left;
        }
        
        .fc-toolbar .fc-button {
            color: #fff;
            background: transparent;
            border: none;
            box-shadow: none;
            text-shadow: none;
            margin: 0;
            height: 50px;
            line-height: 28px;
            padding: 10px;
        }
        
        .fc th,
        .fc td {
            border-style: solid;
            border-width: 1px;
            padding: 0;
            vertical-align: top;
            width: 14.29%;
            padding: 4px 4px;
            font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            line-height: 1.42857143;
            color: #58666e;
            border-color: #e3eaef;
            font-weight: normal;
        }
        
        .fc th {
            text-align: center;
        }
        
        .fc-view table {
            width: 100%;
            border-color: #e3eaef;
            font-weight: normal;
        }
        
        .rq td {
            height: 70px;
        }

        .zhaoGuXiaoPingMu {
            width: 100%;
        }

    </style>


    <div class="container zhaoGuXiaoPingMu">


        <div class="col-xs-12">
            <button class="btn btn-success" ng-click="add()">增加</button>&nbsp;&nbsp;&nbsp;&nbsp;
            <button class="btn btn-link" ng-click="update()">修改</button>
        </div>
        <br/><br/>


        <div class="fc col-xs-12">


            <!-- 年月，左右箭头 -->
            <div class="fc-toolbar">
                <div class="fc-left">
                    <button type="button" class="fc-prev-button fc-button fc-state-default fc-corner-left fc-corner-right" ng-click="pre()">
				<span class="fc-icon fc-icon-left-single-arrow"></span>
				{{obj.m == 0 ? 12 : obj.m}}月
			</button>
                </div>
                <div class="fc-center">
                    <h2>{{obj.y}}年{{obj.m + 1}}月</h2>
                </div>
                <div class="fc-right">
                    <button type="button" class="fc-next-button fc-button fc-state-default fc-corner-left fc-corner-right" ng-click="back()">
				{{obj.m + 2 == 13 ? 1 : obj.m + 2}}月
				<span class="fc-icon fc-icon-right-single-arrow"></span>
			</button>
                </div>
            </div>

            <!-- 日期 -->
            <div class="fc-view">
                <table>
                    <thead>
                        <tr>
                            <th ng-repeat="w in weekarr">{{w}}</th>
                        </tr>
                    </thead>
                    <tbody class="rq">
                        <tr ng-repeat="d1 in obj.data">
                            <td ng-repeat="d2 in d1" ng-click="clickday(d2)">
                                <div class="text-right" ng-class="{true:'red'}[$index == 0 || $index == d1.length - 1]">
                                    {{d2.label}}
                                </div>
                                <div class="text-{{d3.position}}" ng-repeat="d3 in d2.labelarr" ng-bind-html="d3.show">
                                    <!--{{d3.show}}-->
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>

        </div>
    </div>
</div>